<?php /* Smarty version Smarty 3.1.4, created on 2012-07-31 13:37:19
         compiled from "_application/views/templates/products.html" */ ?>
<?php /*%%SmartyHeaderCode:80935017df8f7316a0-83635061%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'bda1673033c7b5b324242cf16dd26ae24eeeb955' => 
    array (
      0 => '_application/views/templates/products.html',
      1 => 1340890466,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '80935017df8f7316a0-83635061',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'WEBURL' => 0,
    'categoryname' => 0,
    'list' => 0,
    'keyword' => 0,
    'pager' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty 3.1.4',
  'unifunc' => 'content_5017df8fd3514',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5017df8fd3514')) {function content_5017df8fd3514($_smarty_tpl) {?><div class="left">
    <div class="pro_top">
        <div class="tab">
            您当前位置：<a href="<?php echo $_smarty_tpl->tpl_vars['WEBURL']->value;?>
">首页</a> | <a href="<?php echo $_smarty_tpl->tpl_vars['WEBURL']->value;?>
product">产品展示</a> <?php echo $_smarty_tpl->tpl_vars['categoryname']->value;?>

        </div>
    </div>
    <div class="container">
        <div class="productlist">
            <ul>
                <?php if (isset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop'])) unset($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['name'] = 'loop';
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'] = is_array($_loop=$_smarty_tpl->tpl_vars['list']->value) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = true;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['max'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] = 1;
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'] > 0 ? 0 : $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop']-1;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']) {
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['loop'];
    if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] == 0)
        $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show'] = false;
} else
    $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'] = 0;
if ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['show']):

            for ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['start'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] = 1;
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] <= $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total'];
                 $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] += $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'], $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration']++):
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['rownum'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_prev'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] - $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index_next'] = $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['index'] + $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['step'];
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['first']      = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == 1);
$_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['last']       = ($_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['iteration'] == $_smarty_tpl->tpl_vars['smarty']->value['section']['loop']['total']);
?>
                <li>
                    <div class="pic">
                        <a href="<?php echo $_smarty_tpl->tpl_vars['WEBURL']->value;?>
product/id/<?php echo $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['aid'];?>
" target="_blank"><img src="<?php echo $_smarty_tpl->tpl_vars['WEBURL']->value;?>
<?php echo $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['images'];?>
" alt="<?php echo $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['tags'];?>
"/></a>
                        <span><a href="<?php echo $_smarty_tpl->tpl_vars['WEBURL']->value;?>
product/id/<?php echo $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['aid'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['list']->value[$_smarty_tpl->getVariable('smarty')->value['section']['loop']['index']]['productname'];?>
</a></span>
                    </div>
                </li>
                <?php endfor; else: ?>
                    <?php if (isset($_smarty_tpl->tpl_vars['keyword']->value)&&$_smarty_tpl->tpl_vars['keyword']->value!=''){?>
                    <div class="null">很抱歉,关键词‘<?php echo $_smarty_tpl->tpl_vars['keyword']->value;?>
’没有相关产品！</div>
                    <?php }else{ ?>
                    <div class="null">很抱歉，还没有更新此类产品！</div>
                    <?php }?>
                <?php endif; ?>
            </ul>
        </div>

    </div>
    <div class="pager">
        <div class='pagination'><?php echo $_smarty_tpl->tpl_vars['pager']->value;?>
</div>
    </div>
</div>
<div class="line">
</div><?php }} ?>